Skip to content

Add recommendations on non-idempotent operations to vshard docs #5252

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: latest
Choose a base branch
from

Conversation

xuniq
Copy link
Contributor

@xuniq xuniq commented Jul 16, 2025

@github-actions github-actions bot temporarily deployed to branch-5242-deduplication July 16, 2025 10:04 Destroyed
@xuniq xuniq force-pushed the 5242-deduplication branch from 9db369a to d0c7e23 Compare July 17, 2025 10:02
@github-actions github-actions bot temporarily deployed to branch-5242-deduplication July 17, 2025 10:04 Destroyed
@xuniq xuniq force-pushed the 5242-deduplication branch from d0c7e23 to e601387 Compare July 17, 2025 10:40
@github-actions github-actions bot temporarily deployed to branch-5242-deduplication July 17, 2025 10:41 Destroyed
@xuniq xuniq force-pushed the 5242-deduplication branch from e601387 to acd7589 Compare July 17, 2025 10:47
@github-actions github-actions bot temporarily deployed to branch-5242-deduplication July 17, 2025 10:49 Destroyed
@xuniq xuniq marked this pull request as ready for review July 18, 2025 10:02
@xuniq xuniq force-pushed the 5242-deduplication branch from acd7589 to d3b7c4a Compare July 18, 2025 10:03
@github-actions github-actions bot temporarily deployed to branch-5242-deduplication July 18, 2025 10:05 Destroyed
Copy link
Contributor

@sergepetrenko sergepetrenko left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the detailed description!

Please, consider my comments below. I also suggest asking @Totktonada to take a look at this doc.

- Read requests can be executed repeatedly.
For this purpose, :ref:`vshard.router.call() <router_api-call>` (with ``mode=read``) uses the ``request_timeout`` parameter
(since ``vshard`` 0.1.28).
It is necessary to pass the ``request_timeout`` and ``timeout`` parameters together, with the following requirement:
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

end
box.commit()

For update and upsert requests, you can create a *deduplication space* where the request IDs will be saved.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's state a bit more explicitly that for now this can be only implemented by the user, there is no support of deduplication from tarantool, but it might appear later.

@sergepetrenko sergepetrenko assigned xuniq and unassigned sergepetrenko Jul 22, 2025
@xuniq xuniq requested a review from Totktonada July 25, 2025 09:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add recommendations on non-idempotent operations to vshard docs
2 participants